<div>
    <div class="modal-body" th:object="${classroom}">
        <input type="hidden" name="classroomId" th:value="*{classroomId}">
        <div class="form-group row">
            <label for="classroomName" class="col-form-label col-sm-3">实验室名称:</label>
            <input type="text" class="form-control col-sm-8" id="classroomName" name="classroomName" th:value="*{classroomName}" placeholder="请输入实验室名称" required>
        </div>
        <div class="form-row">
            <div class="form-group row col-sm-6">
                <label for="teacherName" class="col-form-label col-sm-6">负责人名称:</label>
                <input type="text" class="form-control col-sm-5" id="teacherName"  th:value="*{teacherInfo}!=null?*{teacherInfo.teacherName}:''" readonly>
            </div>
            <div class="form-group row col-sm-6">
                <label for="teacherNumber" class="col-form-label col-sm-4 ">工号:</label>
                <input type="text" class="form-control col-sm-8" id="teacherNumber" name="teacherNumber"  th:value="*{teacherInfo}!=null?*{teacherInfo.teacherNumber}:''" onkeyup="this.value=this.value.replace(/[^\0-9\.]/g,'');" placeholder="请输入教师工号"  required>
            </div>
        </div>
    </div>
    <div class="modal-footer">
        <input class="btn btn-primary"type="submit" value="提交">
        <button type="button" class="btn btn-secondary" data-dismiss="modal" id="classroomDialogClose">Close</button>
    </div>
</div>